#define TEXTSTEP1 "\pExamine the background above. The charactere should be draw behind the barrier. How could it be done?"
#define TEXTSTEP2 "\pA solution is to put a barrier object on the background barrier. But it is not a good solution because it is very slow to draw a so big object and it uses a lot of memory."
#define TEXTSTEP3 "\pA better solution is to build an AnimMask object which has the same shape of the barrier. AnimMask objects mask all objects which are under them using a custom shape. " \
#define TEXTSTEP4 "\pThe sorting priority is used to know when an AnimMask is behind or in front of another Anim object. The character is masked by the AnimMask which has a higher priority than it."
#define TEXTSTEP5 "\pNow suppose that an AnimMask is installed on the tree."
#define TEXTSTEP6 "\pWhat happens when the charactere is in front of the tree. The priority should be modified. The tree should have a smaller priority than the charactere."
#define TEXTSTEP7 "\pBecause AnimMasks use the sorting priority values, automatic sorting algorithms may be used to sort them. In this example, the same algorithm as the \"sorting\" demo may be used."
#define TEXTSTEP8 "\pVisible objects and masks may be sorted with a single algorithm. Click in the picture to examine the result."